package cn.zhujs.org.service;

import cn.zhujs.org.domain.Department;
import cn.zhujs.org.query.DepartmentQuery;
import cn.zhujs.util.PageList;

import java.util.List;

public interface IDepartmentService {
    void add(Department department);
    void update(Department department);
    void remove(Long id);
    Department queryById(Long id);
    List<Department> queryAll();
    //分页+高级查询
    PageList<Department> queryPage(DepartmentQuery query);
}
